package tools.DistanceMatrix;

public class DistanceObject {

	private String qname,tname;
	private double distance;
	
	public DistanceObject(){
		
	}
	public DistanceObject(String qname,String tname, double distance){
		this.qname=qname;
		this.tname=tname;
		this.distance=distance;
	}
	public DistanceObject(DistanceObject d){
		this(d.getQname(),d.getTname(),d.getDistance());
	}
	
	public double getDistance() {
		return distance;
	}
	public void setDistance(double distance) {
		this.distance = distance;
	}
	public String getQname() {
		return qname;
	}
	public void setQname(String qname) {
		this.qname = qname;
	}
	public String getTname() {
		return tname;
	}
	public void setTname(String tname) {
		this.tname = tname;
	}
	
	
}
